﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.DTO
{
    public class WarehouseQueryDto : BaseEntity
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库代码
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string RepositoryCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string WarehouseName { get; set; }
        /// <summary>
        /// 仓库期间
        /// </summary>
        public bool PeriodOfStorage { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime StartDate { get; set; }
        /// <summary>
        /// 启动货位
        /// </summary>
        public bool StartCargoSpace { get; set; }
        /// <summary>
        /// 表单配置
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string FormConfiguration { get; set; }
        /// <summary>
        /// 仓管员
        /// </summary>
        public int WarehouseKeeperId { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public int OperatorId { get; set; }



        /// <summary>
        /// 仓库料品名称
        /// </summary>
        public string MaterialTypeIds { get; set; }
        public string MaterialTypeName { get; set; }

        /// <summary>
        /// 出库类型名称
        /// </summary>
        public string OutBoundTypeIds { get; set; }
        public string OutBoundTypeName { get; set; }

        /// <summary>
        /// 入库类型名称
        /// </summary>

        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string InBoundTypeName { get; set; }
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string InBoundTypeIds { get; set; }
        /// <summary>
        /// 到货类型名称1111 
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string ArrivalTypeIds { get; set; }
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string ArrivalTypeName { get; set; }
    }
}
